You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > ThreadedDiscussion Class > ThreadedDiscussion Methods > AddBoard
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ThreadedDiscussion.AddBoard Method

Adds a discussion board to a given folder. Accepts name, title, and other parameters. Returns numeric ID of the new discussion board. 

This method can be accessed through the ThreadedDiscussion.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Content/ThreadedDiscussion.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "AddBoard", Description = "")]
public long AddBoard(long ParentID, string Name, string Title, bool RequiresAuthentication, string StyleSheet, string[] Categories);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "AddBoard", Description = "")>
Public Function AddBoard(ParentID As long, Name As string, Title As string, RequiresAuthentication As bool, StyleSheet As string, Categories As string[]) As long
Parameters 
Description 
ParentID 
The numeric ID of the folder to which the discussion board is being added. 
Name 
Name of the discussion board. 
Title 
Title of the discussion board. 
RequiresAuthentication 
Enter True if the discussion board requires authentication. If it does not require authentication, enter false. 
StyleSheet 
The stylesheet to apply to the discussion board. 
Categories 
String array of categories for the discussion board. 

Returns a numeric ID of new discussion board (Long).

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!